#if !defined(AFX_MCDLGSHOWHISTORY_H__451E28ED_F24E_44AD_98B4_62E532106BE6__INCLUDED_)
#define AFX_MCDLGSHOWHISTORY_H__451E28ED_F24E_44AD_98B4_62E532106BE6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// McDlgShowHistory.h : header file
//
#include "node_c_serve.h"

/////////////////////////////////////////////////////////////////////////////
// McDlgShowHistory dialog

class McDlgShowHistory : public CDialog
{
	string name_;
	string condition_;
	long lDataType_;
	map<MsDateTime, vector<char> > result_;
	map<long, string> enumMap_;
	bool bEnumMapProperty_;
	PROPERTY_STYLE propStyle_;
// Construction
public:
	McDlgShowHistory(const string& name, const string& condition, long lDataType, const map<MsDateTime, vector<char> >& result, bool bEnumMapProperty, const PROPERTY_STYLE& propStyle, CWnd* pParent = NULL);   // standard constructor
	void set_enum_map(const map<long, string>& enumMap);

// Dialog Data
	//{{AFX_DATA(McDlgShowHistory)
	enum { IDD = IDD_DIALOG_SHOW_HISTORY };
	CListCtrl	m_ctrlList;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(McDlgShowHistory)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(McDlgShowHistory)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MCDLGSHOWHISTORY_H__451E28ED_F24E_44AD_98B4_62E532106BE6__INCLUDED_)
